package com.kayt.cyberBar.cuser.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cuser.business.entity.vo.CyberBaseTaskQueryVO;
import com.kayt.cyberBar.cuser.business.entity.vo.CyberBaseTaskReportVO;

@Path("/report")
@Produces({"application/json","application/xml"})
@Consumes({"application/json"})
public interface ICyberBaseTaskReportService {

	@POST
	@Path("addReport.do")
	public ServerResponse<CyberBaseTaskReportVO> addReport(CyberBaseTaskReportVO vo);

	@POST
	@Path("updateReport.do")
	public ServerResponse<String> updateReport(CyberBaseTaskReportVO vo);

	@GET
	@Path("getReport.do")
	public ServerResponse<CyberBaseTaskReportVO> getReport(@QueryParam("")CyberBaseTaskReportVO vo);

	@GET
	@Path("getReportList.do")
	public ServerResponse<PageData<CyberBaseTaskReportVO>> getReportList(@QueryParam("")CyberBaseTaskQueryVO query);

}
